LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

TOP_DIR := $(LOCAL_PATH)/../..

#include $(TOP_DIR)/config.mk

#All of the source files that we will compile.
SUBDIR := common cistack ciresource

LOCAL_SRC_FILES := $(foreach DIR, $(SUBDIR), $(addprefix $(DIR)/,$(notdir $(wildcard $(LOCAL_PATH)/$(DIR)/*.c))))

#All of the shared libraries  we link against.

LOCAL_SHARED_LIBRARIES := 
LOCAL_STATIC_LIBRARIES := 

#Add the include path.
LOCAL_C_INCLUDES += \
    $(LOCAL_PATH)/pcmciapdrv \
    $(LOCAL_PATH)/common \
    $(LOCAL_PATH)/cistack \
	$(LOCAL_PATH)/ciresource \
	$(LOCAL_PATH)/../usb/camusb \
	$(LOCAL_PATH)/../dvb/include

#Special compiler flags.
LOCAL_CFLAGS +=

#This is the target being built.
LOCAL_MODULE:= ci

include $(BUILD_STATIC_LIBRARY)
